<template>
	<div class="main">
		<button type="primary" size="mini" @click="handleClick('张三')">点击</button>
		<view>{{address}}</view>
	</div>
</template>

<script>
	export default {
		props:["address"],
		methods:{
			handleClick(message){
				// console.log(message)
				this.$emit("run",{message})
			}
		}
		
	}
</script>

<style scoped>
	.main{
		width: 750rpx;
		height: 300rpx;
		background-color: yellowgreen;
	}
</style>